package com.zxy.ziems.server.collection.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zxy.ziems.server.collection.pojo.entity.CollectionDevicePropertyEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

@Mapper
@DS("master")
public interface ManualInputMapper {

    /**
     * 获取手工录入的天然气数据
     * @param codeSet
     * @return list
     */
    List<CollectionDevicePropertyEntity> getByNaturalGasTags(@Param("codeSet") Set<String> codeSet, @Param("startTime") String startTime);

    /**
     * 获取手工录入的化学品数据
     * @param codeSet
     * @param startTime
     * @return
     */
    List<CollectionDevicePropertyEntity> getByChemicalsTags(@Param("codeSet")Set<String> codeSet, @Param("startTime")String startTime);
}
